" /usr/share/vim/vim7x/syntax/c.vim

" highlight Functions
syn match cFunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>[^()]*)("me=e-2
syn match cFunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>\s*("me=e-1
hi cFunctions guifg=#7fd02e cterm=bold ctermfg=yellow
" hi cFunctions guifg=NONE cterm=bold ctermfg=blug

" highlight Class
syn match cClass "\<[a-zA-Z_][a-zA-Z_0-9]*\>::"me=e-2
hi cClass guifg=#7fd02e cterm=bold ctermfg=yellow

" Highlight Math Operator
syn match cMathOperator "[-+*%=<>(){};|.,&!^~:]"

syn match cPointerOperator "->/|/."

syn match cLogicalOperator "[!<>]=/="
syn match cLogicalOperator "==/|/<=/|/>=/|/!="
syn match cLogicalOperator "&&/|||"
syn match cLogicalOperatorError "/(&&/|||/)="

syn match CBinaryOperator "/(&/||/|/^/|<</|>>/)=/="
syn match CBinaryOperator "/~"
syn match CBinaryOperatorError "/~="


hi cMathOperator guifg=#3EFFE2
hi cPointerOperator guifg=#3EFFE2
hi cLogicalOperator guifg=#3EFFE2
hi cLogicalOperatorError guifg=#3EFFE2
hi cBinaryOperator guifg=#3EFFE2
hi cBinaryOperatorError guifg=#3EFFE2
